/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package z.h.w.test;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import z.h.w.jar.kit.method.To;

/**
 *
 * @author EnzoZhong
 */
public class NewMain1 {

     /**
      * @param args the command line arguments
      */
     public static void main ( String[] args ) {
          Integer[] array = To.objs2Array (
                  19700206 ,
                  19710127 ,
                  19720215 ,
                  19730203 ,
                  19740123 ,
                  19750211 ,
                  19760131 ,
                  19770218 ,
                  19780207 ,
                  19790128 ,
                  19800216 ,
                  19810205 ,
                  19820125 ,
                  19830213 ,
                  19840202 ,
                  19850220 ,
                  19860209 ,
                  19870129 ,
                  19880227 ,
                  19890206 ,
                  19900127 ,
                  19910215 ,
                  19920204 ,
                  19930123 ,
                  19940210 ,
                  19950131 ,
                  19960219 ,
                  19970207 ,
                  19980128 ,
                  19990216 ,
                  20000205 ,
                  20010124 ,
                  20020212 ,
                  20030201 ,
                  20040122 ,
                  20050209 ,
                  20060129 ,
                  20070218 ,
                  20080207 ,
                  20090126 ,
                  20100214 ,
                  20110203 ,
                  20120223 );

          Set<Long> set = new HashSet ();
//          int len = array.length;
//          for (int x = 1; x < len; x++) {
//               Time time1 = Time.born(array[x - 1]);
//               Time time2 = Time.born(array[x]);
//               Long long1 = time1.getTime();
//               Long long2 = time2.getTime();
//
//               System.out.println(time1);
//               System.out.println(long2 - long1);
//               System.out.println(time2);
//               System.out.println("");
//
//               set.add(long2 - long1);
//          }
//
//          Show.print(set);
//          System.out.println("");
//          System.out.println(Num.average(set));

          Collection<Boolean> coll = To.objs2List ( true ,
                                                    true );
          System.out.println ( coll );
          System.out.println ( To.collection2Array ( coll )[0] );
     }

}
